#ifndef POINT_H
#define POINT_H
#include <cmath>

class Point
{
public:
    Point();
    Point(double x,double y);
    static double getLen(const Point &,const Point &);
    double getLen(const Point &) const;
    double getX() const;
    double getY() const;
private:
    double x,y;
    static inline double square(double x){return x*x;}

};

#endif // POINT_H
